if exists('s:loaded')
    finish
endif
let s:loaded = 1

hi clear
if exists('syntax_on')
  syntax reset
endif

let g:colors_name = 'colors_lanio'
let s:t_Co = exists('&t_Co') && !empty(&t_Co) && &t_Co > 1 ? &t_Co : 2
let s:italics = (((&t_ZH != '' && &t_ZH != '[7m')) && !has('iOS')) || has('nvim')
let s:t_Co = get(g:, 'solarized_use16', 0) ? 16 : s:t_Co
let s:italics = s:italics && get(g:, 'solarized_italics', 1)
let s:termtrans = get(g:, 'solarized_termtrans', 0)

hi! link FloatermBorder   NONE
hi! link Boolean          Constant
hi! link Character        Constant
hi! link Conditional      Statement
hi! link Debug            Special
hi! link Define           PreProc
hi! link Delimiter        Special
hi! link Exception        Statement
hi! link Float            Constant
hi! link Function         Identifier
hi! link Include          PreProc
hi! link Keyword          Statement
hi! link Label            Statement
hi! link Macro            PreProc
hi! link Number           Constant
hi! link Operator         Statement
hi! link PreCondit        PreProc
hi! link QuickFixLine     Search
hi! link Repeat           Statement
hi! link SpecialChar      Special
hi! link SpecialComment   Special
hi! link StatusLineTerm   StatusLine
hi! link StatusLineTermNC StatusLineNC
hi! link StorageClass     Type
hi! link String           Constant
hi! link Structure        Type
hi! link Tag              Special
hi! link Typedef          Type
hi! link lCursor          Cursor
hi! link cType            Type



hi CocErrorSign    ctermbg=NONE ctermfg=1    cterm=NONE
hi StlBlack        ctermbg=NONE ctermfg=NONE cterm=bold
hi StlGreen        ctermbg=232  ctermfg=41   cterm=bold
hi StlRed          ctermbg=162  ctermfg=NONE  cterm=bold
hi StlYellow       ctermbg=232  ctermfg=178  cterm=bold
hi StlPurple       ctermbg=232  ctermfg=197  cterm=bold
hi StlPink         ctermbg=232  ctermfg=165  cterm=bold
hi StlOrange       ctermbg=202  ctermfg=NONE cterm=bold
hi StlGray         ctermbg=232  ctermfg=244  cterm=bold
hi StlBlue         ctermbg=232  ctermfg=27   cterm=bold
hi Cursor          ctermbg=32   ctermfg=230  cterm=NONE
hi CursorLineNr    ctermbg=NONE ctermfg=NONE cterm=bold
hi NonText         ctermbg=NONE ctermfg=246  cterm=bold
hi SpecialKey      ctermbg=236  ctermfg=246  cterm=bold
hi SpellBad        ctermbg=NONE ctermfg=61   cterm=bold
hi SpellCap        ctermbg=NONE ctermfg=61   cterm=bold
hi SpellLocal      ctermbg=NONE ctermfg=136  cterm=bold
hi SpellRare       ctermbg=NONE ctermfg=37   cterm=bold
hi Title           ctermbg=NONE ctermfg=166  cterm=bold
hi Normal          ctermbg=NONE ctermfg=220    cterm=NONE
hi FoldColumn      ctermbg=NONE ctermfg=fg   cterm=NONE
hi Folded          ctermbg=NONE ctermfg=253  cterm=bold
hi LineNr          ctermbg=NONE  ctermfg=8 cterm=NONE
hi Terminal        ctermbg=NONE ctermfg=fg   cterm=NONE
hi DiffAdd         ctermbg=236  ctermfg=106  cterm=NONE
hi DiffChange      ctermbg=236  ctermfg=136  cterm=NONE
hi DiffDelete      ctermbg=236  ctermfg=160  cterm=bold
hi DiffText        ctermbg=236  ctermfg=32   cterm=NONE
hi StatusLine      ctermbg=NONE ctermfg=NONE cterm=NONE
hi StatusLineNC    ctermbg=NONE ctermfg=NONE cterm=NONE
hi TabLine         ctermbg=NONE ctermfg=243  cterm=NONE
hi TabLineFill     ctermbg=NONE ctermfg=NONE cterm=NONE
hi TabLineSel      ctermbg=NONE ctermfg=247  cterm=BOLD
hi VertSplit       ctermbg=NONE ctermfg=242  cterm=NONE
hi ColorColumn     ctermbg=236  ctermfg=NONE cterm=NONE
hi Conceal         ctermbg=NONE ctermfg=32   cterm=NONE
hi CursorColumn    ctermbg=NONE ctermfg=NONE cterm=bold
hi CursorLine      ctermbg=NONE ctermfg=NONE cterm=underline
hi Directory       ctermbg=NONE ctermfg=32   cterm=NONE
hi EndOfBuffer     ctermbg=NONE ctermfg=NONE cterm=NONE
hi ErrorMsg        ctermbg=NONE ctermfg=1    cterm=reverse
hi IncSearch       ctermbg=7    ctermfg=5    cterm=reverse
hi MatchParen      ctermbg=236  ctermfg=230  cterm=bold
hi ModeMsg         ctermbg=NONE ctermfg=32   cterm=NONE
hi MoreMsg         ctermbg=NONE ctermfg=32   cterm=NONE
hi Pmenu           ctermbg=238  ctermfg=250  cterm=NONE
hi PmenuSbar       ctermbg=238  ctermfg=NONE cterm=NONE
hi PmenuSel        ctermbg=25   ctermfg=230  cterm=NONE
hi PmenuThumb      ctermbg=243  ctermfg=NONE cterm=NONE
hi Question        ctermbg=NONE ctermfg=37   cterm=bold
hi Search          ctermbg=7    ctermfg=31   cterm=reverse
hi SignColumn      ctermbg=NONE ctermfg=247  cterm=NONE
hi Visual          ctermbg=31   ctermfg=7    cterm=NONE
hi VisualNOS       ctermbg=236  ctermfg=NONE cterm=reverse
hi WarningMsg      ctermbg=NONE ctermfg=166  cterm=bold
hi WildMenu        ctermbg=236  ctermfg=230  cterm=reverse
hi Comment         ctermbg=NONE ctermfg=235  cterm=italic
hi Constant        ctermbg=NONE ctermfg=1   cterm=NONE
hi Error           ctermbg=230  ctermfg=160  cterm=bold,reverse
hi Identifier      ctermbg=NONE ctermfg=75   cterm=NONE
hi Ignore          ctermbg=NONE ctermfg=NONE cterm=NONE
hi PreProc         ctermbg=NONE ctermfg=200  cterm=NONE
hi Special         ctermbg=NONE ctermfg=166  cterm=NONE
hi Statement       ctermbg=NONE ctermfg=40   cterm=NONE
hi Todo            ctermbg=NONE ctermfg=162  cterm=bold
hi Type            ctermbg=NONE ctermfg=208  cterm=NONE
hi Underlined      ctermbg=NONE ctermfg=14   cterm=NONE
hi CursorIM        ctermbg=fg   ctermfg=NONE cterm=NONE
hi ToolbarLine     ctermbg=236  ctermfg=NONE cterm=NONE
hi ToolbarButton   ctermbg=236  ctermfg=254  cterm=bold
hi NormalMode      ctermbg=230  ctermfg=247  cterm=reverse
hi InsertMode      ctermbg=230  ctermfg=37   cterm=reverse
hi ReplaceMode     ctermbg=230  ctermfg=166  cterm=reverse
hi VisualMode      ctermbg=230  ctermfg=162  cterm=reverse
hi CommandMode     ctermbg=230  ctermfg=162  cterm=reverse
hi GitGutterAdd    ctermbg=NONE  ctermfg=106 cterm=NONE
hi GitGutterChange ctermbg=NONE  ctermfg=136 cterm=NONE
hi GitGutterDelete ctermbg=NONE  ctermfg=160 cterm=NONE

if !s:italics
  hi Comment ctermbg=NONE ctermfg=NONE cterm=NONE
endif
if has('nvim')
  hi! link TermCursor Cursor
  hi TermCursorNC  ctermbg=243 ctermfg=235 cterm=NONE
endif
if !get(g:, 'solarized_extra_hi_groups', 0)
  unlet s:t_Co s:italics s:termtrans
  finish
endif
hi! link vimVar      Identifier
hi! link vimFunc     Function
hi! link vimUserFunc Function
hi! link helpSpecial Special
hi! link vimSet      Normal
hi! link vimSetEqual Normal
hi vimCommentString     ctermbg=NONE ctermfg=61 cterm=NONE
hi vimCommand          ctermbg=NONE ctermfg=136 cterm=NONE
hi vimCmdSep            ctermbg=NONE ctermfg=32 cterm=bold
hi helpExample         ctermbg=NONE ctermfg=254 cterm=NONE
hi helpOption           ctermbg=NONE ctermfg=37 cterm=NONE
hi helpNote            ctermbg=NONE ctermfg=162 cterm=NONE
hi helpVim             ctermbg=NONE ctermfg=162 cterm=NONE
hi helpHyperTextJump    ctermbg=NONE ctermfg=32 cterm=NONE
hi helpHyperTextEntry  ctermbg=NONE ctermfg=106 cterm=NONE
hi vimIsCommand        ctermbg=NONE ctermfg=246 cterm=NONE
hi vimSynMtchOpt       ctermbg=NONE ctermfg=136 cterm=NONE
hi vimSynType           ctermbg=NONE ctermfg=37 cterm=NONE
hi vimHiLink            ctermbg=NONE ctermfg=32 cterm=NONE
hi vimHiGroup           ctermbg=NONE ctermfg=32 cterm=NONE
hi vimGroup             ctermbg=NONE ctermfg=32 cterm=bold
hi! link diffAdded Statement
hi! link diffLine Identifier
hi gitcommitComment  ctermbg=NONE ctermfg=243 cterm=italic
hi! link gitcommitUntracked gitcommitComment
hi! link gitcommitDiscarded gitcommitComment
hi! link gitcommitSelected  gitcommitComment
hi gitcommitUnmerged  ctermbg=NONE ctermfg=106 cterm=bold
hi gitcommitOnBranch  ctermbg=NONE ctermfg=243 cterm=bold
hi gitcommitBranch    ctermbg=NONE ctermfg=162 cterm=bold
hi! link gitcommitNoBranch gitcommitBranch
hi gitcommitdiscardedtype  ctermbg=NONE ctermfg=160 cterm=NONE
hi gitcommitselectedtype   ctermbg=NONE ctermfg=106 cterm=NONE
hi gitcommitHeader         ctermbg=NONE ctermfg=243 cterm=NONE
hi gitcommitUntrackedFile   ctermbg=NONE ctermfg=37 cterm=bold
hi gitcommitDiscardedFile  ctermbg=NONE ctermfg=160 cterm=bold
hi gitcommitSelectedFile   ctermbg=NONE ctermfg=106 cterm=bold
hi gitcommitUnmergedFile   ctermbg=NONE ctermfg=136 cterm=bold
hi gitcommitFile           ctermbg=NONE ctermfg=247 cterm=bold
hi! link gitcommitDiscardedArrow gitcommitDiscardedFile
hi! link gitcommitSelectedArrow gitcommitSelectedFile
hi! link gitcommitUnmergedArrow gitcommitUnmergedFile
hi htmlTag             ctermbg=NONE ctermfg=243 cterm=NONE
hi htmlEndTag          ctermbg=NONE ctermfg=243 cterm=NONE
hi htmlTagN            ctermbg=NONE ctermfg=254 cterm=bold
hi htmlTagName          ctermbg=NONE ctermfg=32 cterm=bold
hi htmlSpecialTagName   ctermbg=NONE ctermfg=32 cterm=italic
hi htmlArg             ctermbg=NONE ctermfg=246 cterm=NONE
hi javaScript          ctermbg=NONE ctermfg=136 cterm=NONE
hi! link jsFuncCall Function
hi perlHereDoc            ctermbg=235 ctermfg=254 cterm=NONE
hi perlVarPlain           ctermbg=235 ctermfg=136 cterm=NONE
hi perlStatementFileDesc   ctermbg=235 ctermfg=37 cterm=NONE
hi texstatement            ctermbg=235 ctermfg=37 cterm=NONE
hi texmathzonex           ctermbg=235 ctermfg=136 cterm=NONE
hi texmathmatcher         ctermbg=235 ctermfg=136 cterm=NONE
hi texreflabel            ctermbg=235 ctermfg=136 cterm=NONE
hi rubyDefine             ctermbg=235 ctermfg=254 cterm=bold
hi! link rubySymbol Type
hi rubyBoolean         ctermbg=235 ctermfg=162  cterm=NONE
hi cPreCondit          ctermbg=NONE ctermfg=166 cterm=NONE
hi VarId                ctermbg=NONE ctermfg=32 cterm=NONE
hi ConId               ctermbg=NONE ctermfg=136 cterm=NONE
hi hsImport            ctermbg=NONE ctermfg=162 cterm=NONE
hi hsString            ctermbg=NONE ctermfg=246 cterm=NONE
hi hsStructure          ctermbg=NONE ctermfg=37 cterm=NONE
hi hs_hlFunctionName    ctermbg=NONE ctermfg=32 cterm=NONE
hi hsStatement          ctermbg=NONE ctermfg=37 cterm=NONE
hi hsImportLabel        ctermbg=NONE ctermfg=37 cterm=NONE
hi hs_OpFunctionName   ctermbg=NONE ctermfg=136 cterm=NONE
hi hs_DeclareFunction  ctermbg=NONE ctermfg=166 cterm=NONE
hi hsVarSym             ctermbg=NONE ctermfg=37 cterm=NONE
hi hsType              ctermbg=NONE ctermfg=136 cterm=NONE
hi hsTypedef            ctermbg=NONE ctermfg=37 cterm=NONE
hi hsModuleName        ctermbg=NONE ctermfg=106 cterm=NONE
hi! link hsImportParams     Delimiter
hi! link hsDelimTypeExport  Delimiter
hi! link hsModuleStartLabel hsStructure
hi! link hsModuleWhereLabel hsModuleStartLabel
hi hsNiceOperator  ctermbg=NONE ctermfg=37 cterm=NONE
hi hsniceoperator  ctermbg=NONE ctermfg=37 cterm=NONE
if !s:italics
  hi gitcommitComment ctermbg=NONE ctermfg=NONE cterm=NONE
  hi htmlSpecialTagName ctermbg=NONE ctermfg=NONE cterm=NONE
endif
unlet s:termtrans
unlet s:t_Co s:italics
finish
